import React from 'react'
import { Button } from 'antd'
import Background from '../../300.gif'
//定义背景样式
let sectionStyle = {
    width: "100%",
    height: "97.5vh",
    background: `url(${Background}) no-repeat center`,
}
class Test extends React.Component{

    constructor(){
        super()
        this.test=this.test.bind(this)
    }

    test(){
        // alert('性能优化测试!')
        window.open(`/common/info`,'_blank')
    }
    render(){
        return(
            <div style={sectionStyle}>
                <Button onClick={this.test}>性能优化测试</Button>
            </div>
        )
    }
}

export default Test